package com.ctshk.rpc.train.dto.es;

import com.ctshk.common.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 火车产品表
 * </p>
 *
 * @author lys
 * @since 2021-05-17
 */
@Data
@ApiModel(value="TrainProductCacheDTO对象", description="火车产品缓存对象")
public class TrainProductCacheDTO extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "产品编码")
    private String productCode;

    @ApiModelProperty(value = "出发城市id")
    private Long departureCityId;

    @ApiModelProperty(value = "出发城市名称")
    private String departureCityName;

    @ApiModelProperty(value = "到达城市id")
    private Long arriveCityId;

    @ApiModelProperty(value = "到达城市名称")
    private String arriveCityName;

    @ApiModelProperty(value = "火车车次id")
    private Long trainNumberId;

    @ApiModelProperty(value = "车次名称")
    private String trainNumberName;

    @ApiModelProperty(value = "到达时间")
    private LocalDateTime terminusTime;

    @ApiModelProperty(value = "出发时间")
    private LocalDateTime departureTime;

    @ApiModelProperty(value = "预计耗时")
    private LocalDateTime estimatedTime;

    @ApiModelProperty(value = "上车站id")
    private Long boardingStationId;

    @ApiModelProperty(value = "上车站名称")
    private String boardingStationName;

    @ApiModelProperty(value = "下车站点id")
    private Long alightingStationId;

    @ApiModelProperty(value = "下车站点名称")
    private String alightingStationName;

    @ApiModelProperty(value = "推荐状态（1：推荐 2：不推荐）")
    private Integer recommendationStatus;

    @ApiModelProperty(value = "服务费")
    private Integer serviceChargePrice;

    @ApiModelProperty(value = "销量")
    private Integer saleCount;

    @ApiModelProperty(value = "座位库存数")
    private Integer inventory;

    @ApiModelProperty(value = "席位等级id")
    private Long seatLevelId;

    @ApiModelProperty(value = "席位等级名称")
    private String seatLevelName;

    @ApiModelProperty(value = "火车席位等级信息")
    private List<TrainNumberSeatLevelCacheDTO> trainNumberSeatLevelCacheDTOS;

    @ApiModelProperty(value = "加辐信息")
    private List<ChannelSaleCacheDto> channelSaleCacheList;

}
